package com.xcw.bos.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.xcw.bos.dao.IWorkordermanageDao;
import com.xcw.bos.dao.base.impl.BaseDaoImpl;
import com.xcw.bos.domain.Workordermanage;
@Repository
public class WorkordermanageDaoImpl extends BaseDaoImpl<Workordermanage> implements
		IWorkordermanageDao {
	//查询未启动的工作单------start==0
	public List<Workordermanage> findNotStart(){
		String hql = "from Workordermanage o where o.start='0' order by o.updatetime desc";
		return this.getHibernateTemplate().find(hql);
	}
}
